import 'package:json_annotation/json_annotation.dart';

part 'xindong_push_class.g.dart';

@JsonSerializable()
class XinDongPushClass {
  int id = 0;
  int tid = 0;
  int enable = 0;
  String title = "";
  List<XinDongPushClass>? child;

  XinDongPushClass();

  factory XinDongPushClass.fromJson(Map<String, dynamic> json) => _$XinDongPushClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongPushClassToJson(this);
}
